const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  devServer:{
    port:8088,
	proxy: {
      '/juheNews': {
        target: 'http://v.juhe.cn/toutiao/index',    //需要跨域的url
        ws: true,                                    //代理webSocket
        changeOrigin: true,                          //允许跨域
        pathRewrite: {
          '^/juheNews': ''                         //重写路径
        }
      }
	}
  }


})

